package com.uzai.console.dto.log.userloginlog;

import com.uzai.console.dto.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("账号登录日志查询参数")
public class UserLoginLogQuery extends QueryParam {
    @ApiModelProperty("用户账号")
    private String account;
    @ApiModelProperty("登录IP")
    private String ip;
    @ApiModelProperty("登录状态(0-登录失败;1-登录成功)")
    private Integer loginStatus;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(Integer loginStatus) {
        this.loginStatus = loginStatus;
    }
}
